/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package AA;

/**
 *
 * @author asc
 */
public class P072 {
    
    public int best(String[] data){
        String[] pesos = data[0].split("\\p{Space}+");
        String[] valor = data[1].split("\\p{Space}+");
        String[] capacidad = data[2].split("\\p{Space}+");
        int[] Pesos = new int[pesos.length];
        int[] Valor = new int[valor.length];
        int[] Capacidad = new int[capacidad.length];
        
        for (int i = 0; i < pesos.length; i++) {
            Pesos[i] = Integer.parseInt(pesos[i]);
            Valor[i] = Integer.parseInt(valor[i]);
        }
        for (int i = 0; i < capacidad.length; i++) {
            Capacidad[i] = Integer.parseInt(capacidad[i]);
        }
        //int[][] Matrix = new int[][];
        
        
        return 1;
    }     
    public static void main(String[] args) {
        P072 p = new P072();
            System.out.println(p.best(args));
    }   
    
}
